import os


def find_root_path():
    p = os.path.dirname(__file__)

    for i in range(10):
        if 'requirements.txt' in os.listdir(p):
            break
        p = os.path.dirname(p)
    return p


root_path = find_root_path()

env_active = os.environ.get('AIDES_ENV', 'local')

if __name__ == '__main__':
    print(root_path)
